import { notification} from 'antd';
const Notice = (type,tit,desc) => {
  notification[type]({
    message: tit,
    description:desc,
    duration:1
  });
}

export default Notice